package org.kotemaru.browser;

public abstract class ActionBase implements Action {

	private ActionBrowserFrame browserFrame;
	
	public void postBrowserFrame(ActionBrowserFrame frame) {
		this.browserFrame = frame;
	}
	public ActionBrowserFrame takeBrowserFrame() {
		return this.browserFrame;
	}
	
	protected Navigator velocity(String vm) {
		return new VelocityNavigator(this, vm);
	}
	protected Navigator redirect(String url) {
		return new RedirectNavigator(url);
	}
	
}
